package net.starwifi.duobao.service;

import net.starwifi.duobao.entity.Member;
import net.starwifi.duobao.mvc.PageView;

/**
 * Created by Administrator on 2015/7/15.
 */
public interface MemberService extends BaseService<Member,Long> {

    Member findByUsername(String username);

    Member findByWxOpenId(String wxOpenId);

    boolean isAuthenticated();

    Member getCurrent();

    boolean usernameExists(String username);

    Member findByUsernameOrMobile(String value);

    Member findByMobile(String mobile);


    String exportExcel2003WithUsermodel(String format, String realPath, PageView pageView);
}
